<?php
/**
 * 常量配置管理文件
 *
 *
 * @version $Id: constants.php 13 2007-08-23 10:31:57Z etng2004 $
 * @copyright 2006-2007 ETE.CN
 * @author Yi BO  <etng2004@gmail.com>
 * @license PHP Version 3.0 {@link http://www.php.net/license/3_0.txt}
 */
define('APP_DIR', 		APP_ROOT	. DIRECTORY_SEPARATOR . 'app');
define('LIB_DIR', 		APP_ROOT	. DIRECTORY_SEPARATOR . 'lib');
define('MODEL_DIR', 	APP_DIR		. DIRECTORY_SEPARATOR . 'models');
define('MODULES_DIR', 	APP_DIR		. DIRECTORY_SEPARATOR . 'modules');
define('WWW_DIR', 		APP_ROOT	. DIRECTORY_SEPARATOR . 'public');
define('TMP_DIR', 		APP_ROOT 	. DIRECTORY_SEPARATOR . 'tmp');
define('CACHE_DIR', 	TMP_DIR		. DIRECTORY_SEPARATOR . 'cache');
define('LOG_DIR', 		TMP_DIR		. DIRECTORY_SEPARATOR . 'log');
define('SESSION_DIR', 	TMP_DIR		. DIRECTORY_SEPARATOR . 'session');
define('UPLOAD_DIR', 	TMP_DIR		. DIRECTORY_SEPARATOR . 'upload');